package com.jyw.business.knowledge.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author Created by ZhangCheng on 2023/09/28
 */
@Data
@ApiModel("知识库编辑状态请求实体")
public class KlKnowledgeStateDto {

    /**
     * 主键
     */
    @ApiModelProperty("主键")
    @NotNull(message = "主键不能为空")
    private Long id;

    /** 状态(0已禁用1已启用) */
    @ApiModelProperty("状态(0已禁用1已启用)")
    @NotNull(message = "状态不能为空")
    private Integer state;
}
